#include "generate_qt_shared_library.h"


Generate_qt_shared_library::Generate_qt_shared_library(QObject *parent)
{
    // 连接信号和槽
    connect(this, &Generate_qt_shared_library::mySignal, this, &Generate_qt_shared_library::mySlot);
    // 发射信号
    emit mySignal(42);
}



void Generate_qt_shared_library::mySlot(int value)
{
    qDebug() << "Received value in slot:" << value;
}
